	{{ hidden_field("id") }}
	<div class="form-group">
		<label for="name" class="col-sm-5 control-label no-padding-right">产品名称</label>
		<div class="col-sm-7">
			{{ text_field("name", "class": "col-xs-10 col-sm-5") }}
		</div>
	</div>
	<div class="form-group">
		<label for="product_types_id" class="col-sm-5 control-label no-padding-right">类型</label>
		<div class="col-sm-7">
			{{ select("product_types_id", productTypes,'using': ['id', 'name'],'useEmpty':true,'emptyText':'请选择','emptyValue':'',"class": "col-xs-10 col-sm-5") }}
		</div>
	</div>
	<div class="form-group">
		<label for="price" class="col-sm-5 control-label no-padding-right">价格</label>
		<div class="col-sm-7">
			{{ text_field("price", "class": "col-xs-10 col-sm-5") }}
		</div>
	</div>
	<div class="form-group">
		<label for="active" class="col-sm-5 control-label no-padding-right">是否有效</label>
		<div class="col-sm-1">
			{% if active|upper == 'Y' %}
				{{ check_field("active", 'value':'Y', 'checked':'checked') }}
			{% else %}
				{{ check_field("active", 'value':'Y') }}
			{% endif %}

		</div>
	</div>
